package org.tau.workshop2011.codegen

import javax.swing.JComponent

/**
 * Created by IntelliJ IDEA.
 * User: Barak
 * Date: 10/12/11
 * Time: 12:17
 * To change this template use File | Settings | File Templates.
 */

trait WidgetGenerator {
  def GenGui(name: String, props: Map[String, _]): (JComponent, Map[String, Property[_]])
  def apply(name: String)(props: Map[String, _]): (JComponent, Map[String, Property[_]]) = GenGui(name, props)
}